package random;

import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;

class Key implements KeyListener {;

    public Key(){
    }


    public void keyTyped(KeyEvent e) {}

    public void keyPressed(KeyEvent e) {
	if(e.getKeyChar() == 'q'){
	    System.exit(0);
	}
    }

    public void keyReleased(KeyEvent e) {}
}
